home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games Extra 1996 September / Amiga Games Extra CD-ROM 9-1996.iso / userbox / publicdomain / vim-4.2 / src / amiga.h < prev    next >
C/C++ Source or Header  |  1996-06-09  |  2KB  |  105 lines

  1. /* vi:set ts=4 sw=4:
  2.  *
  3.  * VIM - Vi IMproved        by Bram Moolenaar
  4.  *
  5.  * Do ":help uganda"  in Vim to read copying and usage conditions.
  6.  * Do ":help credits" in Vim to see a list of people who contributed.
  7.  */
  8.  
  9. /*
  10.  * Amiga Machine-dependent things
  11.  */
  12.  
  13. #define CASE_INSENSITIVE_FILENAME    /* ignore case when comparing file names */
  14. #define SPACE_IN_FILENAME
  15. #define USE_FNAME_CASE                /* adjust case of file names */
  16. #ifndef _DCC
  17. #define HAVE_STAT_H
  18. #endif
  19. #define HAVE_STDLIB_H
  20. #define HAVE_STRING_H
  21. #define HAVE_FCNTL_H
  22. #define HAVE_STRCSPN
  23. #define HAVE_MEMSET
  24. #define HAVE_QSORT
  25. #if defined(__DATE__) && defined(__TIME__)
  26. # define HAVE_DATE_TIME
  27. #endif
  28.  
  29. /*
  30.  * Be conservative about sizeof(int). It could be 4 too.
  31.  */
  32. #define SIZEOF_INT    2
  33.  
  34. #ifdef LATTICE
  35. # define USE_TMPNAM        /* use tmpnam() instead of mktemp() */
  36. #endif
  37.  
  38. /* always use remove() to remove a file */
  39. #define vim_remove(x) remove((char *)(x))
  40.  
  41. /*
  42.  * arpbase.h must be included before functions.h
  43.  */
  44. #ifndef NO_ARP
  45. # include <libraries/arpbase.h>
  46. #endif
  47.  
  48. /*
  49.  * This won't be needed if you have a version of Lattice 4.01 without broken
  50.  * break signal handling.
  51.  */
  52. #include <signal.h>
  53.  
  54. /*
  55.  * Names for the EXRC, HELP and temporary files.
  56.  * Some of these may have been defined in the makefile.
  57.  */
  58.  
  59. #ifndef USR_VIMRC_FILE
  60. # define USR_VIMRC_FILE    "s:.vimrc"
  61. #endif
  62.  
  63. #ifndef USR_EXRC_FILE
  64. # define USR_EXRC_FILE    "s:.exrc"
  65. #endif
  66.  
  67. #ifndef VIMRC_FILE
  68. # define VIMRC_FILE        ".vimrc"
  69. #endif
  70.  
  71. #ifndef EXRC_FILE
  72. # define EXRC_FILE        ".exrc"
  73. #endif
  74.  
  75. #ifndef VIM_HLP
  76. # define VIM_HLP        "vim:vim_help.txt"
  77. #endif
  78.  
  79. #ifdef VIMINFO
  80. #ifndef VIMINFO_FILE
  81. # define VIMINFO_FILE    "s:.viminfo"
  82. #endif
  83. #endif /* VIMINFO */
  84.  
  85. #ifndef DEF_BDIR
  86. # define DEF_BDIR        ".,t:"        /* default for 'backupdir' */
  87. #endif
  88.  
  89. #ifndef DEF_DIR
  90. # define DEF_DIR        ".,t:"        /* default for 'directory' */
  91. #endif
  92.  
  93. #define TMPNAME1        "t:viXXXXXX"
  94. #define TMPNAME2        "t:voXXXXXX"
  95. #define TMPNAMELEN        12
  96.  
  97. #ifndef MAXMEM
  98. # define MAXMEM            256        /* use up to 256Kbyte for buffer */
  99. #endif
  100. #ifndef MAXMEMTOT
  101. # define MAXMEMTOT        0        /* decide in set_init */
  102. #endif
  103.  
  104. #define BASENAMELEN        26        /* Amiga */
  105.